{#
 # @param progressAnon the progress bar data for anonymization
 # @param progressVoters the progress bar data for voter
 # @param voters total number of voters
 # @param anon total number of people that anonymized
 #}
{% if anon > 5 and voters > 5 %}
{% if access.hlasovanie.isVotingOpen %}
<p>{{ trans('hlasovanie.globalProgressbar.kto_hlasoval', {'%voters%': voters, '%anon%': anon}) }}
{% if skratka_fakulty == 'FMFI' %}
{{ trans('hlasovanie.globalProgressbar.ciel') }}
{% else %}
{{ trans('hlasovanie.globalProgressbar.zapojte_sa') }}
{% endif %}
</p>
{% else %}
<p>{{ trans('hlasovanie.globalProgressbar.kto_hlasoval_nakoniec', {'%voters%': voters}) }}</p>
{% endif %}
<div class="progressbar-welcome-wrapper"
     data-anon="{{ "%.0f%%" | format(progressAnon.percentDone) }}"
     data-voters="{{ "%.0f%%" | format(progressVoters.percentDone) }}"
    ></div>

{% endif %}
